@import url(https://fonts.googleapis.com/css?family=Open+Sans:600,400);
.frame {
  position: absolute;
  width: 400px;
  height: 400px;
  box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.3);
  inset: 0;
  margin: auto;
  background: linear-gradient(to top right, #fda231 0%, #fdca31 100%);
  overflow: hidden;
  border-radius: 2px;
  color: #497081;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
}

.list {
  position: absolute;
  width: 240px;
  height: 280px;
  inset: 0;
  margin: auto;
  box-shadow: 4px 8px 12px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  background-color: #fff;
  overflow: hidden;
}
.list .head {
  padding: 20px 0;
  margin: 0 30px;
  border-bottom: 1px solid #d4dce0;
}
.list .head .title {
  text-align: center;
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
}
.list .head .subtitle {
  text-align: center;
  font-size: 12px;
  line-height: 18px;
}
.list ul {
  list-style: none;
  padding: 4px 0;
  margin: 0 30px;
}
.list ul li {
  position: relative;
  display: block;
  margin: 24px 0;
  height: 14px;
}
.list ul li .text {
  float: left;
  font-size: 13px;
  line-height: 14px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.list ul li .button {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  float: right;
  width: 14px;
  height: 14px;
  border: 1px solid #497081;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s ease-out 0.5s;
}
.list ul li .checkmark {
  position: absolute;
  fill: none;
  stroke-width: 1px;
  stroke: #c8d4d9;
  stroke-dasharray: 30 30;
  stroke-dashoffset: 30;
  top: 2px;
  right: 0;
  transition: all 0.5s ease-out;
}
.list ul li input {
  display: none;
}
.list ul li input:checked ~ .text {
  color: #c8d4d9;
  text-decoration: line-through;
}
.list ul li input:checked ~ .button {
  transition: all 0.4s ease-in;
  transform: scale(1.5);
  opacity: 0;
}
.list ul li input:checked ~ .checkmark {
  stroke-dashoffset: 0;
  transition: all 0.5s ease-in 0.4s;
}